package com.zym.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 从配置文件读取属性
 */
@Data
@Component
@ConfigurationProperties(prefix = "pro")
public class ProProperties {
    private  String filePath;  //文件上传路径
    private  String outPath;  //文件上传路径


}
